﻿import { axios } from '@/utils/request'

/**
 * 查询科室信息
 *
 * @author lxy
 */
export function SysDepartmentPage (parameter) {
  return axios({
    url: '/SysDepartment/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 科室信息列表
 *
 * @author lxy
 */
export function SysDepartmentList (parameter) {
  return axios({
    url: '/SysDepartment/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加科室信息
 *
 * @author lxy
 */
export function SysDepartmentAdd (parameter) {
  return axios({
    url: '/SysDepartment/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑科室信息
 *
 * @author lxy
 */
export function SysDepartmentEdit (parameter) {
  return axios({
    url: '/SysDepartment/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除科室信息
 *
 * @author lxy
 */
export function SysDepartmentDelete (parameter) {
  return axios({
    url: '/SysDepartment/delete',
    method: 'post',
    data: parameter
  })
}
